﻿namespace Mockingbird.MVC.Models
{
    using System.ComponentModel.DataAnnotations;

    public class LoginModel
    {
        [RegularExpression(@"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}")]
        [Required(ErrorMessage = "This Field is required")]
        [Display(Name = "Email")]
        public string Email { get; set; }

        [Required(ErrorMessage = "This Field is required")]
        [Display(Name = "Password")]
        public string Password { get; set; }
    }
}